package com.pospi.pospihold.dto;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

import java.io.Serializable;

/**
 * Created by acer on 2018/10/12.
 */

@Entity
public class OrderBeen implements Serializable{
    @Id(autoincrement = true)
    private Long id;
    private String orderNo;
    private String goodsDetail;
    private String payDetail;
    private String shopNo;//店铺号
    private String cashierNo;//收银员号
    private String uid;
    private String date;
    private String amount;
    private String deviceNo;
    private String discount;
    private String sid;//订单id
    private String saveDate;//保存的日期
    private int saveTiem; //保存的时间
    private String stutas;//状态
    private String orderType;//1销售 2退货 3已退
    private String payId;//第三方支付回执，用于退款
    public String getDiscount() {
        return this.discount;
    }
    public void setDiscount(String discount) {
        this.discount = discount;
    }
    public String getDeviceNo() {
        return this.deviceNo;
    }
    public void setDeviceNo(String deviceNo) {
        this.deviceNo = deviceNo;
    }
    public String getAmount() {
        return this.amount;
    }
    public void setAmount(String amount) {
        this.amount = amount;
    }
    public String getDate() {
        return this.date;
    }
    public void setDate(String date) {
        this.date = date;
    }
    public String getUid() {
        return this.uid;
    }
    public void setUid(String uid) {
        this.uid = uid;
    }
    public String getCashierNo() {
        return this.cashierNo;
    }
    public void setCashierNo(String cashierNo) {
        this.cashierNo = cashierNo;
    }
    public String getShopNo() {
        return this.shopNo;
    }
    public void setShopNo(String shopNo) {
        this.shopNo = shopNo;
    }
    public String getPayDetail() {
        return this.payDetail;
    }
    public void setPayDetail(String payDetail) {
        this.payDetail = payDetail;
    }
    public String getGoodsDetail() {
        return this.goodsDetail;
    }
    public void setGoodsDetail(String goodsDetail) {
        this.goodsDetail = goodsDetail;
    }
    public String getOrderNo() {
        return this.orderNo;
    }
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getSid() {
        return this.sid;
    }
    public void setSid(String sid) {
        this.sid = sid;
    }
    public String getStutas() {
        return this.stutas;
    }
    public void setStutas(String stutas) {
        this.stutas = stutas;
    }
    public String getSaveDate() {
        return this.saveDate;
    }
    public void setSaveDate(String saveDate) {
        this.saveDate = saveDate;
    }
    public String getOrderType() {
        return this.orderType;
    }
    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }
    public String getPayId() {
        return this.payId;
    }
    public void setPayId(String payId) {
        this.payId = payId;
    }
    public int getSaveTiem() {
        return this.saveTiem;
    }
    public void setSaveTiem(int saveTiem) {
        this.saveTiem = saveTiem;
    }
    @Generated(hash = 251806032)
    public OrderBeen(Long id, String orderNo, String goodsDetail, String payDetail,
            String shopNo, String cashierNo, String uid, String date,
            String amount, String deviceNo, String discount, String sid,
            String saveDate, int saveTiem, String stutas, String orderType,
            String payId) {
        this.id = id;
        this.orderNo = orderNo;
        this.goodsDetail = goodsDetail;
        this.payDetail = payDetail;
        this.shopNo = shopNo;
        this.cashierNo = cashierNo;
        this.uid = uid;
        this.date = date;
        this.amount = amount;
        this.deviceNo = deviceNo;
        this.discount = discount;
        this.sid = sid;
        this.saveDate = saveDate;
        this.saveTiem = saveTiem;
        this.stutas = stutas;
        this.orderType = orderType;
        this.payId = payId;
    }
    @Generated(hash = 1978301428)
    public OrderBeen() {
    }

}
